package kuaizu.common.mqconst;

import java.util.List;

/**
 * @author: wangmx15
 * @date: 2025/8/23
 **/
public interface MQConstant {
    //消息队列名称
    String PROJECT_SEND_QUEUE = "projcet_send_queue";

    //死信交换机前缀
    String DEAD_LETTER_EXCHANGE_PREFIX = "dead_exchange_";
    //项目投递提醒消息队列
    String PROJECT_SEND_QUEUE_DLX = DEAD_LETTER_EXCHANGE_PREFIX + "project_send_queue";

    /**
     *   es创建项目队列
     */
    String CREATE_PROJECT_QUEUE = "create_project_queue";
    /**
     * es删除项目队列
     */
    String DELECT_PROJECT_QUEUE = "delect_project_queue";

    /**
     * 项目创建后订阅消息队列,有人投递项目之后
     */
    String PROJECT_CREATE_SUBSCRIBE_QUEUE = "project_create_subscribe_queue";

    /**
     * 项目审核结果通知队列 项目通过管理员的审核通知,创建项目前
     */
    String PROJECT_AUDIT_QUEUE = "project_audit_queue_result";
    /**
     * 给投递过项目的人的消息队列,投递项目是的弹窗
     */
    String PROJECT_JOIN_QUEUE = "project_join_queue";
    //队列列表
    List<String> QUEUE_LIST = List.of(PROJECT_SEND_QUEUE, CREATE_PROJECT_QUEUE, PROJECT_SEND_QUEUE_DLX);
}
